package com.agp;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.context.config.annotation.RefreshScope;

/**
 * @author agp
 * @version 1.0.0
 * @ClassName ConfigClientHaApplication.java
 * @Description TODO
 * @createTime 2018年11月01日 15:21:00
 */
@SpringBootApplication
@EnableDiscoveryClient
@RefreshScope
@Slf4j
public class ConfigClientHaApplication {
    public static void main(String[] args) throws Exception {
        SpringApplication.run(ConfigClientHaApplication.class, args);
        log.info("spring-cloud-config-ha-client启动!");
    }




}